<?php
$categoryId = Utils::getUrlParam('categoryId');
$categoryDao = new CategoryDao();
$currentCategory = $categoryDao->findById($categoryId);

$contentDao = new ContentDao();

// data for template
$title = 'Bancuri din categoria ' . Utils::capitalize($currentCategory->getName());
$bancuri = $contentDao->findByCategoryId($categoryId);
?>
